package com.shawn.dubbo.api;

import com.shawn.model.mongo.UserLike;
import com.shawn.model.vo.PageResult;

import java.util.List;
import java.util.Map;

public interface UserLikeApi {
    boolean whetherAlreadyLove(Long userId, Long checkLikeUserId);

    void save(UserLike userLike);

    boolean checkLove(Long userId, Long loveId);

    Map<String, Integer> getFriendsDetailCount(Long userId);
    List<UserLike> getFriendsDetail(Long userId, Integer type);
    List<UserLike> getFriendsDetail(Long userId, List<Long> ids);
}
